#include "BCMIConfigHelper.h"
#include "opencv2/myopencv.hpp"

BCMIConfigHelper::BCMIConfigHelper(void)
{
}


BCMIConfigHelper::~BCMIConfigHelper(void)
{
}

void BCMIConfigHelper::load( std::string filename /*= "config.xml" */ )
{
	this->filename = filename;
	cv::FileStorage fs(filename, cv::FileStorage::READ);
	cv::FileNode bcmiParam = fs["BCMI"];

	bcmiParam["alphaFilename"] >> alphaFilename;
	bcmiParam["SVMModelFilename"] >> modelFilename;
	bcmiParam["SVMRangeFilename"] >> rangeFilename;

}
